package config

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/zrpc"
)

type Config struct {
	zrpc.RpcServerConf

	Query struct {
		DefaultAmount            int64
		MaxAmount                int64
		PhotoForumId             int64
		PostForumId              int64
		ColumnForumId            int64
		DefaultForumId           int64
		DSForumId                int64
		DefaultElasticSearchHost string
	}

	Mysql struct {
		DataSource string
	}

	CacheRedis cache.CacheConf

	BlogRpc zrpc.RpcClientConf
	UserRpc zrpc.RpcClientConf
}
